package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-06-21
 * Time: 20:46
 */
public class Manager extends Employee {
    public int bonus;
    public Manager(String name,int age,int salary,int bonus) {
        super(name,age,salary);
        this.bonus = bonus;
    }

    @Override
    public void work() {
        System.out.println(this.name + "正在工作");
    }
}
